package com.studymaster.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.studymaster.dao.EventDao;
import com.studymaster.domain.Event;
import com.studymaster.service.EventService;

@Service
public class EventServiceImpl implements EventService{

	@Autowired
	private EventDao mEventDao;
	
	@Override
	public List<Event> getAllEvents() {
		return mEventDao.getAllEvents();
	}

	@Override
	public boolean saveAllEvents(List<Event> l) {
		return mEventDao.saveAllEvents(l);
	}

}
